/**
 * @type {String}
 *
 * @properties={typeid:35,uuid:"6C5E3E9F-1E30-4BAA-A138-23C5B9C9282B"}
 */
var fTotales = null;

/**
 * Handle record selected.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"ABA8B65E-8333-4361-A104-FA3D7D02F964"}
 */
function onRecordSelection(event) {
	if (tipo == 0)
	{
		elements.grp_cliente.visible	= 0
		elements.grp_proveedor.visible 	= 1
		elements.tabs_180.tabIndex		= 2
	}
	else
	{
		elements.grp_cliente.visible	= 1
		elements.grp_proveedor.visible 	= 0
		elements.tabs_180.tabIndex		= 1
	}
}
